import java.util.Scanner;

public class arithmeticoperatortest {
    public static void main(String[] args) {
        //输入三位数,输出个位十位百位
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入整数:");
        int a = sc.nextInt();

        System.out.println("个位数:");
        System.out.println(a%10);

        System.out.println("十位数:");
        System.out.println(a/10%10);

        System.out.println("百位数:");
        System.out.println(a/100);

        System.out.println("另一种表示:");
        System.out.println("个位数:"+a%10);

        System.out.println("十位数:"+a/10%10);

        System.out.println("百位数:"+a/100);
    }
}
